<template>
    <div id="app">
        <transition name="fade" mode="out-in">
            <keep-alive :include="keepAlive">
            <router-view />
            </keep-alive>
        </transition>
        <Tabbar v-show="$route.meta.navbarShow"></Tabbar>
        <transition name="fade" mode="out-in">
        <div class="ball" v-show="$store.state.ballStatus">
            <animateBegin></animateBegin>
        </div>
        </transition>
    </div>
</template>

<script>
import Tabbar from "./views/tab/tab";
import animateBegin from './components/animateBegin'
export default {
    name: "App",
    components: {
        Tabbar,
        animateBegin
    },
    computed:{
        keepAlive(){
            return this.$store.getters.keepAlive
        }
    }
};
</script>

<style lang='less'>
#app {
    font-family: "Avenir", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
    box-sizing: border-box;
}


</style>
